package com.lmx.repoDomain.repository;

import com.lmx.persistence.service.RegisterService;
import com.lmx.repoDomain.tmodel.AuthCode;
import com.lmx.repoDomain.tmodel.SysConfig;
import io.katharsis.queryParams.QueryParams;
import io.katharsis.repository.annotations.JsonApiFindAll;
import io.katharsis.repository.annotations.JsonApiResourceRepository;

import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@JsonApiResourceRepository(SysConfig.class)
@Component
public class SysConfigRepository extends BaseRepository<SysConfig> {

	@Override
	@JsonApiFindAll
	public Iterable<SysConfig> findAll(final QueryParams requestParams) {
		List<SysConfig> listData=new ArrayList<>();
		SysConfig sysConfig=new SysConfig();
		sysConfig.setId(1L);
		listData.add(sysConfig);
        return listData;
	}

}
